<?php

class Our_team extends CI_Controller {
    public function __construct() {
        parent::__construct();
        $this->load->model(array(
            'team_model'
        ));
    }
    
    public function index($idteam) {
        $data['team'] = $this->team_model->get($idteam);
        $this->load->view('layout/header', $data);
        $this->load->view('layout/submenu-who-we-are');
        $this->load->view('our_team/index');
        $this->load->view('layout/frases');
        $this->load->view('layout/footer');
    }
}
?>
